#NoTrayIcon

If $CmdLine[0] <> 1 Then
 	Exit(-1)
EndIf

$list = ProcessList($CmdLine[1])

If $list[0][0] > 0 Then
	ConsoleWrite($list[1][1])
	Exit(0)
Else
	ConsoleWrite(-1)
EndIf
